<?php
	$tblNews = new Zendvn_Models_NewsItem(); 
	$news = $tblNews->listItem($view->arrParam,array('task'=>'special'));
?>
                    <div class="group3 mar-top-30">
                    	<div class="sub-left">
                            <div class="bag-title-orange">
                                <img src="<?php echo $view->imgUrl;?>/icon/icon-news.png" alt=""  />
                                <p>TIN TỨC ĐẶC BIỆT</p>
                            </div>
                        </div>
                        <?php
							if(!empty($news)){
								$i = 0;
								foreach ($news as $key => $val) {
									
									$title 		= $val['name'];
									$sumTmp 	= str_replace("\\"," ",$title);
                    				$cutTring 	= new Zendvn_File_CutTring();
									$title 		= $cutTring->cutTring(87,$sumTmp,null);
									
									$sumTmp 	= $val['summary'];
                    				$sumTmp 	= str_replace("\\"," ",$sumTmp);
                    				$cutTring 	= new Zendvn_File_CutTring();
				                	$sumary 	= $cutTring->cutTring(320,$sumTmp,null);
				                	
									if(!empty($val['picture'])){
				                    	$linkImg	= FILES_URL . '/news/images450x450/' . $val['picture'];
				                    	$picture 	= '<img title="'. $title .'" src="'. $linkImg .'" alt="'.$name.'" />';
				                    }else{
				                    	$linkImg	= FILES_URL . '/news/images450x450/no-image.jpg';
				                    	$picture 	= '<img title="'. $title .'" src="'. $linkImg .'" alt="'.$name.'" />';
				                    }
									$lang = $view->arrParam['lang'];
				                    if(empty($lang)){
				                    	$lang = 'vi';
				                    }else{
				                    	$lang = $view->arrParam['lang'];
				                    }
				                    $urlOptions = array('module'=>'news','controller'=>'index',
																	'action'=>'detail',
																	'nname'=>$val['alias_name'],
																	'title'=>$val['alias'],
				                    								'nid'=> $val['cat_id'],
																	'id'=>$val['id'],
				                    								'lang'=>$lang);
				                    $linkDetail = $view->url($urlOptions,'news-detail');
				                    $linkDetail;
								    $i++;
								    $line = '<div class="line"></div>';
									
						?>
                        <div class="box-cnt width-100 mar-top-20">
                            <div class="bor-img">
                                <a title="<?php echo $title?>" href="<?php echo $linkDetail?>"><?php echo $picture?></a>
                            </div>
                            <div class="desc">
                                <h2><a title="<?php echo $title?>" href="<?php echo $linkDetail?>"><?php echo $title?></a></h2>
                                <p><?php echo $sumary ?></p>
                                <a title="<?php echo $title?>" href="<?php echo $linkDetail?>" class="btn-readmore bag-readmore-green"><span>Xem chi tiết</span></a>
                            </div>
                            <div class="clear"></div>
                            <?php echo $line ;?>
                        </div>
                        <?php }}?>
                    </div>
